//Cao Li

import org.joda.time.DateTime;

public class Tasks {
	private static int count = 1;
	private int id;
	private String content;
	private DateTime deadline;
	private DateTime start;
	private DateTime end;
	private boolean priority;
	private String label;
	private boolean done;
	private String userInput;

	public Tasks() {
		id = count;
		count++;
		content = null;
		deadline = null;
		start = null;
		end = null;
		priority = false;
		label = null;
		done = false; 
	}



	public Tasks(String name) {
		this();
		content = name;
	}

	public Tasks(String name, String label) {
		this();
		content = name;
		this.label = label;
	}


	public Tasks(String name, DateTime deadline) {
		this();
		content = name;
		this.deadline = deadline;
		
	}


	public Tasks(String name, DateTime deadline, String label) {
		this();
		content = name;
		this.deadline = deadline;
		this.label = label;
	}



	public Tasks(String name, DateTime start, DateTime end) {
		this();
		content = name;
		this.start = start;
		this.end = end;
	}

	
	public Tasks(String name, DateTime start, DateTime end, String label) {
		this();
		content = name;
		this.start = start;
		this.end = end;
		this.label = label;
	}

	public int getId() {
		return id;
	}

	public String getContent() {
		return content;
	}	

	public DateTime getDeadline() {
		return deadline;
	}

	public DateTime getStart() {
		return start;
	}

	public DateTime getEnd() {
		return end;
	}

	public boolean isPriority() {
		return priority;
	}
	public String getLabel() {
		return label;
	}
	public boolean isDone() {
		return done;
	}

	public String getUserInput() {
		return userInput;
	}

	public void setId(int id) {
		this.id = id;
	}
	public void setContent(String name) {
		content = name;
	}

	public void setDeadline(DateTime deadline) {
		this.deadline = deadline;
	}

	public void setStart(DateTime start) {
		this.start = start;
	}

	public void setEnd(DateTime end) {
		this.end = end;
	}

	public void setPriority(boolean priority) {
		this.priority = priority;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public void setDone(boolean done) {
		this.done = done;
	}

	public void setUserInput(String commandString) {
		this.userInput = commandString;
	}

}
